package com.developerstation.barcode.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.developerstation.barcode.model.CkaTm;
import com.developerstation.barcode.model.CkaTmExample;

public interface CkaTmMapper {
    int countByExample(CkaTmExample example);

    int deleteByExample(CkaTmExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CkaTm record);

    int insertSelective(CkaTm record);
    
    int insertTmForBatch(List<CkaTm> list);

    List<CkaTm> selectByExampleWithBLOBs(CkaTmExample example);

    List<CkaTm> selectByExample(CkaTmExample example);

    CkaTm selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CkaTm record, @Param("example") CkaTmExample example);

    int updateByExampleWithBLOBs(@Param("record") CkaTm record, @Param("example") CkaTmExample example);

    int updateByExample(@Param("record") CkaTm record, @Param("example") CkaTmExample example);

    int updateByPrimaryKeySelective(CkaTm record);

    int updateByPrimaryKeyWithBLOBs(CkaTm record);

    int updateByPrimaryKey(CkaTm record);
    
    int updateTmStatisticCallable(Map paramMap);
    
    int updateTmStatusCallable(Map paramMap);
}